package com.company;

import javax.swing.*;
import java.awt.*;

public class Button1 {
    void go() {
        JFrame frame = new JFrame();
        JButton button = new JButton("click like you mean it");
        Font bigFont = new Font("Menlo", Font.BOLD, 28);
        button.setFont(bigFont);
        frame.getContentPane().add(BorderLayout.NORTH, button);
        frame.setSize(400, 400);
        frame.setVisible(true);
    }
}
